home *** CD-ROM | disk | FTP | other *** search
- i = 0;
- while(i < dustcount)
- {
- var nama = "smoke" + i + 1;
- this.attachMovie("smokeDust",nama,i + 1);
- this[nama].tscale = (rand(dustmax - dustmin) + dustmin) * 10;
- this[nama]._rotation = rand(rotation) - rotation / 2 - 90;
- this[nama]._x = rand(roomWidth);
- this[nama]._y = rand(roomHeight);
- this[nama].xspeed = rand(xspeed) + 1;
- this[nama].zspeed = rand(zspeed);
- this[nama].gravity = gravity;
- this[nama].fade = rand(5) + 3;
- i++;
- }
-